package com.shamp.shop.basic.service;

import java.util.List;

import org.springframework.validation.Errors;

import com.shamp.shop.basic.model.User;

public interface UserService {

	boolean createUser(User user,  String password, Errors errors);
	Iterable<User> getUsers();
	List<User> getUsersByEmail(String Email);
	User getUser(Long id);
	void updateUser(User user);
	void deleteUser(Long id);
	
}
